<template>
  <div>
    <van-tabbar
      v-model="active"
      route
      active-color="black"
      fixed
      font-size-sm="20px"
      inactive-color="rgb(190, 189, 189)"
    >
      <van-tabbar-item to="/Index">首页</van-tabbar-item>
      <van-tabbar-item to="/Shopping_page">购物</van-tabbar-item>
      <van-tabbar-item><span class="nit">+</span></van-tabbar-item>
      
      <van-tabbar-item to="/chat">消息</van-tabbar-item>
      <van-tabbar-item to="/mint">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
  




  <script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>
  
  <style scoped>
.van-tabbar-item {
  font-size: 20px;
}
/* .base {
  width: 100%;
  height: 45px;
  line-height: 45px;
  position: fixed;
  bottom: 0;
  background-color: rgb(255, 255, 255);
  border-top: 1px solid transparent;
}

.base ul {
  display: flex;
  justify-content: space-around;
}

.base ul li {
  font-size: 20px;
  color: rgb(190, 189, 189);
} */

.nit {
  box-sizing: border-box;
  text-align: center;
  margin-top: 5px;
  width: 50px;
  height: 38px;
  background-color: red;
  border-radius: 13px;
  font-weight: 600;
  color: white;
  display: inline-block;
  line-height: 40px;
  font-size: 35px;
}
/* .base ul li:nth-child(3) a {
  display: inline-block;
  margin-top: -5px;
} */
</style>